﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sispe.Entities;

namespace Sispe.BussinesLogic
{
    public interface IVinculoFamiliarBL
    {
        List<VINCULO_FAMILIAR> GetAllFromVinculoFamiliar();
        List<VINCULO_FAMILIAR> GetAllFromVinculoFamiliarByDescripcion(string descripcion);
        VINCULO_FAMILIAR GetFromVinculoFamiliarById(Int32 id);
        VINCULO_FAMILIAR GetFromVinculoFamiliarByCodigo(string codigo);

        void AddVinculoFamiliar(VINCULO_FAMILIAR vinculoFamiliar);
        void UpdateVinculoFamiliar(VINCULO_FAMILIAR vinculoFamiliar);
        void RemoveVinculoFamiliar(Int32 id);

        bool ExisteDuplicidad(string descripcion, string codigo, Int32 id);
    }
}
